public class CampusTest {
    public static void main(String[] args) {

        Student student = new Student(
                "S2023001", "张三", "计算机学院", "2023级", "人工智能"
        );
        // 2. 创建教师对象
        Teacher teacher = new Teacher(
                "T2023001", "李四", "计算机学院", "副教授", "机器学习"
        );


        System.out.println("===== 学生信息 =====");
        student.printWorksheet();

        System.out.println("===== 教师信息 =====");
        teacher.printWorksheet();




    }
}

